class BlockChain:
    """
        区块链结构体
        blocks: 包含的区块列表
    """
    def __init__(self):
        self.blocks = []
    def add_block(self,block):
        """
            添加区块
        """
        self.blocks.append(block)